<!-- page content -->
<div class="right_col" role="main">
   <p>===download File===</p>
   <p><a href="/test/file?fileName=test.jpg">下载</a></p>

    <p>===upload file ====</p>
    <p><span th:text="${error}"></span></p>
    <p><img th:src="${path}"></p>
     <form action="/test/file" method="post" enctype="multipart/form-data">
         <input type="file" name="file">
         <input type="submit" value="提交">

     </form>
    <h3>This is Thymeleaf test page.</h3>
    <hr>
    <p>==========th:text=====</p>
    <p><span th:text="${message}"></span></p>
    <p>=========th:if==========</p>
    <p><span th:if="${checked}==true">the checked is true</span></p>
    <p><span th:if="${currentNumber}&lt;100">the currnetNumber is true</span></p>
    <p>=========th:attr========</p>
    <p><input type="checkbox" th:value="${checked}">like</p>
    <p><img th:src="${src}" alt="图片" ></p>
    <p><a th:href="${href}">百度</a></p>
    <p>========th:object========</p>
    <p>
    <div th:object="${city}">
        <span th:text="${city.cityId}"></span>
        <span th:text="${city.cityName}"></span>
    </div>
    </p>
    <p>
    <ul th:each="city : ${cities}">
        <li th:text="${city.cityName}"></li>
    </ul>
    </p>
    <p>
        <select >
            <option th:each="city : ${cities}" th:value="${city.cityId}"
                    th:text="${city.cityName}"></option>
        </select>
    </p>


    <table>
        <tr>
            <td>ID</td>
            <td>Name</td>
        </tr>
        <tr th:each="city : ${cities}">
            <td th:text="${city.cityId}"></td>
            <td th:text="${city.cityName}"></td>
        </tr>

    </table>
</div>
